<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>充电插座收费模版</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  #parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid">
  <div class="layui-card layui-form" lay-filter="LAY-form" wid100>
    <input type="hidden" name="id" value="$!{id}"/>
    <div class="layui-card-header">基础配置</div>
    <div class="layui-card-body">
      <div class="layui-row">
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">模版标题</label>
            <div class="layui-input-block">
              <input type="text" name="title" lay-verify="required" placeholder="请输入收费模版标题" autocomplete="off" class="layui-input" value="$!{title}">
            </div>
          </div>
        </div>
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">所属代理</label>
            <div class="layui-input-block">
              <select id="userId" name="userId" class="layui-hide form-control" lay-ignore>
                <option value="$!{userId}">$!{userName}</option>
              </select>
            </div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">钱包最小余额</label>
            <div class="layui-input-inline">
              <input type="text" name="minWalletMoneyStr" lay-verify="required" placeholder="请输入用户钱包最小余额" autocomplete="off" class="layui-input" value="$!{minWalletMoneyStr}">
            </div>
            <div class="layui-form-mid layui-word-aux">元</div>
          </div>
        </div>
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">服务费</label>
            <div class="layui-input-inline">
              <input type="text" name="serverMoneyStr" lay-verify="required" placeholder="请输入附加费用" autocomplete="off" class="layui-input" value="$!{serverMoneyStr}">
            </div>
            <div class="layui-form-mid layui-word-aux">元</div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">最大充电时长</label>
            <div class="layui-input-inline">
              <input type="text" name="maxChargeTimesMinute" lay-verify="required" placeholder="请输入单次最大充电时长" autocomplete="off" class="layui-input" value="$!{maxChargeTimesMinute}">
            </div>
            <div class="layui-form-mid layui-word-aux">分钟</div>
          </div>
        </div>
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">预警充电量</label>
            <div class="layui-input-inline">
              <input type="text" name="maxChargeElectricity" lay-verify="required" placeholder="请输入单次最大充电电量" autocomplete="off" class="layui-input" value="$!{maxChargeElectricity}">
            </div>
            <div class="layui-form-mid layui-word-aux">千瓦时(度)</div>
          </div>
        </div>
      </div>
      <div class="layui-row">
        <div class="layui-col-sm6">
          <div class="layui-form-item">
            <label class="layui-form-label">时间套餐(小时)</label>
            <div class="layui-input-block">
              <input type="text" name="timeSetMeal" lay-verify="required" placeholder="请输入电费" autocomplete="off" class="layui-input" value="$!{timeSetMeal}">
            </div>
          </div>
        </div>
      </div><!-- /.layui-row-->
      <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-form-submit" id="LAY-form-submit" value="确认">
      </div>
    </div>
  </div><!--/.layui-card -->
  <div class="layui-card">
    <div class="layui-card-header">功率间隔费用
      #if($id)
      <div style="float:right;">
        <button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="addPowerItem">新增</button>
      </div>
      #end
    </div>
    <div class="layui-card-body">
      <table id="LAY-table" lay-filter="LAY-table"></table>
    </div>
  </div><!--/.layui-card -->
</div>
#parse('/footFiles.html')
<script>
layui.config({
  base: '$!{webRoot}/layuiadmin/'
  ,webRoot:'$!{webRoot}'
  ,resDomain:'$!{resDomain}'
}).extend({
  index: 'lib/index'
  ,cdcz_fee_template_edit:'cdcz/cdcz_fee_template_edit'
}).use(['index', 'form', 'cdcz_fee_template_edit'])
</script>
</body>
</html>